home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Typing / Multimedia Typing (7-20286-20106-8)(Version 1.0)(Pro-One).iso / PROGFILE.SFS / CUSTOM.RUL next >
Text File  |  1996-02-26  |  11KB  |  256 lines

  1. /*----------------------------------------------------------------------------*\
  2.  *  Custom.RUL
  3.  *  Sofsource Installation Package:  Program-Specific Declarations.
  4.  *  Copyright (c) 1995-1996 Sofsource, Inc.  All rights  reserved.
  5.  *  Setup script written by:  Bob Falk
  6.  *------------------------------------------------------------------------------
  7.  *  Program-specific declarations for:  Multimedia Typing Teacher
  8.  *                    Last updated on:  02/26/96
  9. \*----------------------------------------------------------------------------*/
  10.  
  11. //=================================================================================================
  12. // The following are used in the Windows 95 Registry:
  13. //
  14. // Windows 3.x and NT NOTES:
  15. //   COMPANY_NAME, PRODUCT_NAME, and PRODUCT_VERSION are used in the [Application] section
  16. //   of SETUP.LOG files (when used).
  17. //
  18. // Windows 95 NOTES:
  19. //   COMPANY_NAME           = Used in Application Information Key
  20. //   PRODUCT_NAME           = Used in Application Information Key, also used in the screen caption,
  21. //                            several message boxes, error messages, and the log file.
  22. //   PRODUCT_VERSION        = Used in Application Information Key
  23. //   APP_PATHS_KEY_EXENAMES = Used in the Per Application Paths key
  24. //                            May contain multiple EXEs, separated by semi-colons.  App-Path keys can
  25. //                            also contain multiple directories, separated by semi-colons.
  26. //   DEINSTALL_KEY          = Used in the Application Uninstallation Key
  27. //   The "Add/Remove Programs" applet, in the Windows 95 Control Panel folder, will list
  28. //   (as [DisplayName]) the program as a combination of PRODUCT_NAME + ' v' + PRODUCT_VERSION.
  29. //
  30. #define COMPANY_NAME           "Sofsource, Inc."
  31. #define PRODUCT_NAME           "Multimedia Typing Teacher"
  32. #define PRODUCT_VERSION        "1.00"
  33. #define APP_PATHS_KEY_EXENAMES "TTUTOR.EXE"
  34. #define DEINSTALL_KEY          "Sof921089Ver100DeinstKey"
  35.   // Used as:  InstallationInfo( COMPANY_NAME, PRODUCT_NAME, PRODUCT_VERSION, APP_PATHS_KEY_EXENAMES );
  36.   //           RegDBSetItem( REGDB_UNINSTALL_NAME, PRODUCT_NAME + ' v' + PRODUCT_VERSION );
  37.   //           DeinstallStart( svDestPath, svUninstLogFile, DEINSTALL_KEY, 0 );
  38.  
  39. // The EXTRAICONS_APP_NAME is used for icons related to the main program, such as for READ.ME files.
  40. // The icon title might be something like "WC Encyclopedia Read Me" rather than the ridiculously
  41. // long "Webster's Concise Encyclopedia Read Me".  If the PRODUCT_NAME is less than about 18 characters
  42. // in length, then EXTRAICONS_APP_NAME should be the same as PRODUCT_NAME.  In Windows 95, any title
  43. // longer than 17 characters will appear with ellipses (...).
  44. //                      !!! |-----------------| 17 chars max length !!!
  45. #define EXTRAICONS_APP_NAME "Typing Teacher"
  46. //#define EXTRAICONS_APP_NAME PRODUCT_NAME
  47.  
  48. //----- Base (Default) Destination Paths:
  49. #define APPBASE_PATH3X      "SOFSRC\\TTeacher\\"
  50. #define APPBASE_PATH95      "Sofsource\\Typing Teacher\\"
  51.  
  52.  
  53. //----- Define the items that MUST match LAUNCHER.PAS:
  54. //        Windows 95.  This will typically be "C:\Sofsource" and will always be on the same
  55. //        drive as Windows 95 itself, regardless of the installation target (destination).
  56. // This also must match the cSectionName in LAUNCHER.PAS.
  57. // This should be 70-characters max.  If longer, you'll need to edit the Perm Setup Log details.
  58. #define PROGRAM_FOLDER_NAME     "Sofsource"
  59. //#define PROGRAM_FOLDER_NAME     "Premier"
  60. #define APP_UPC_CODE        "92108-9"
  61.   // APP_UPC_CODE 30-chars max.  If longer, you'll need to edit the Perm Setup Log details.
  62. #define PRODUCT_ID_FILENAME "ID921089.ID_"
  63.  
  64.  
  65. //=================================================================================================
  66. #define NUM_EXES_PRESENT 1
  67.   // Set the above to the number of executable files
  68.   // belonging to the product, FOR WHICH ICONS WILL BE MADE
  69.   // *** Use "-1" when WINHELP.EXE should execute a HLP file ***
  70.  
  71.  
  72. //=================================================================================================
  73. // Documentation/READ-ME file definitions:
  74.  
  75. // Define the following if a README file is present
  76. //#define DOCUMENTATION_PRESENT 1
  77. #ifdef DOCUMENTATION_PRESENT
  78.     #define DOC_FILE_NAME "???.TXT"
  79.     #define DOC_ICON_NAME '"??? Read Me"'
  80. #endif
  81.   // NOTE:  For Icon Names, single-quotes enclose the double-quotes.  This doesn't matter
  82.   //        under Windows 95, but is important under Windows 3.x and NT.  In the latter cases,
  83.   //        without the extra single quotes, you could not use special characters (such as
  84.   //        commas or parentheses) in the name.  Of course, now you'll need to use an
  85.   //        Escape Sequence to place a single quote in the name (i.e. "\'" instead of "'").
  86.  
  87. //=================================================================================================
  88. // Executable and Icon File Definitions:
  89.  
  90. #ifdef NUM_EXES_PRESENT >= 1
  91. // In Windows 95 only the first 17 chars appear, remaining chars are replaced with ellipses (...)
  92. //                        !!! |-----------------| 17 chars max length
  93.     #define PROGICON_NAME_1 '"Typing Teacher"'
  94.     #define EXE_FILENAME_1  "TTUTOR.EXE"
  95.     #define ICON_FILENAME_1 "TTUTOR.EXE"
  96. #endif
  97. #ifdef NUM_EXES_PRESENT >= 2
  98.     #define PROGICON_NAME_2 '""'
  99.     #define EXE_FILENAME_2  ""
  100.     #define ICON_FILENAME_2 ""
  101. #endif
  102. #ifdef NUM_EXES_PRESENT >= 3
  103.     #define PROGICON_NAME_3 '""'
  104.     #define EXE_FILENAME_3  ""
  105.     #define ICON_FILENAME_3 ""
  106. #endif
  107. #ifdef NUM_EXES_PRESENT >= 4
  108.     #define PROGICON_NAME_4 '""'
  109.     #define EXE_FILENAME_4  ""
  110.     #define ICON_FILENAME_4 ""
  111. #endif
  112. #ifdef NUM_EXES_PRESENT = -1
  113.     #define HELP_NAME_1 '"???"'
  114.     #define HLP_FILE_1  "???.HLP"
  115. #endif
  116.  
  117.  
  118. //=================================================================================================
  119. // Special Case Involving Running From CD-ROM
  120.  
  121. #define CDROM_ALWAYS_REQUIRED 1
  122.   // Define the above if the CD-ROM must always be inserted to use the program
  123.  
  124.  
  125. //#define EXE_RUN_FROM_CDROM 1
  126.   // Define the above if the EXE is started from the CD-ROM
  127.  
  128. #ifdef EXE_RUN_FROM_CDROM
  129.     #ifdef NUM_EXES_PRESENT >= 1
  130.         #define SRC_PATH_1_ON_CDROM "\\x\\"  // Always terminate with a backslash
  131.     #endif
  132.     #ifdef NUM_EXES_PRESENT >= 2
  133.         #define SRC_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  134.     #endif
  135.     #ifdef NUM_EXES_PRESENT >= 3
  136.         #define SRC_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  137.     #endif
  138.     #ifdef NUM_EXES_PRESENT >= 4
  139.         #define SRC_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  140.     #endif
  141. #endif
  142.  
  143.  
  144. //#define WORKING_DIR_ON_CDROM 1
  145.   // Define the above if the working directory should be on the CD-ROM
  146.   // otherwise the working directory will be the installation target directory
  147.  
  148. #ifdef WORKING_DIR_ON_CDROM
  149.     #ifdef NUM_EXES_PRESENT >= 1
  150.         #define WORK_PATH_1_ON_CDROM "\\x\\"  // Always terminate with a backslash
  151.     #endif
  152.     #ifdef NUM_EXES_PRESENT >= 2
  153.         #define WORK_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  154.     #endif
  155.     #ifdef NUM_EXES_PRESENT >= 3
  156.         #define WORK_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  157.     #endif
  158.     #ifdef NUM_EXES_PRESENT >= 4
  159.         #define WORK_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  160.     #endif
  161. #endif
  162.  
  163.  
  164. //=================================================================================================
  165. //----- SPECIAL-CASE Definitions:
  166.  
  167. //#define REQUIRES_INI_FILE_ENTRIES 1
  168.   // Define the above if special INI file entries need to be made
  169.  
  170. //#define REQUIRES_FONT_ENTRY_IN_WININI 1
  171.   // Define the above if this is an old program which will not find it's fonts
  172.   // unless they are duplicated in WIN.INI under Windows 95 and Windows NT.
  173.   // Such fonts will still be properly installed in the registry.
  174.  
  175. // The special-case is on the CD-ROM version only, not the diskette version:
  176. #ifdef EXE_RUN_FROM_CDROM
  177.     //#define SPECIAL_CASE_TERM_PAPER 1
  178.       // Define the above if this is Term Paper (CD-ROM Full or Brain-Damaged Version)
  179.       // Also define REQUIRES_INI_FILE_ENTRIES
  180.  
  181.     //#define SPECIAL_CASE_BOOK_REPORT 1
  182.       // Define the above if this is Book Report (CD-ROM Full or Brain-Damaged Version)
  183.       // Also define REQUIRES_INI_FILE_ENTRIES
  184. #endif
  185.  
  186. //#define SPECIAL_CASE_RESUME 1
  187.   // Define the above if this is Windows Resume
  188.   // Also define REQUIRES_INI_FILE_ENTRIES
  189.  
  190. //#define SPECIAL_CASE_MM_TRIVIA 1
  191.   // Define the above if this is Multimedia Trivia
  192.  
  193. //#define SPECIAL_CASE_WINDOWS_MADE_EASY 1
  194.   // Define the above if this is Windows Made Easy
  195.  
  196. #define SPECIAL_CASE_TYPING_TEACHER 1
  197.   // Define the above if this is Multimedia Typing Teacher
  198.  
  199. //#define SPECIAL_CASE_EASY_TUTORIAL_WIN95 1
  200.   // Define the above if this is Easy Tutorial for Windows 95
  201.  
  202. //#define SPECIAL_CASE_OFFICE_SUITE 1
  203.   // Define the above if this is Office Suite
  204.  
  205. //#define SPECIAL_CASE_3DIT
  206.   // Define the above if this is 3D-It
  207.   // Also define REQUIRES_INI_FILE_ENTRIES
  208.  
  209. //#define SPECIAL_CASE_WEBSTERS_HME95 1
  210.   // Define the above if this is Webster's Concise Encyclopedia 1995 edition
  211.   // Also define REQUIRES_INI_FILE_ENTRIES
  212.  
  213.  
  214. //=================================================================================================
  215. // Requirements definitions:
  216.  
  217.   //----- VIDEO FOR WINDOWS:
  218.   //
  219. //#define REQUIRES_VFW 1
  220.   // Define the above if Video For Windows is required
  221.  
  222.  
  223.   //----- Speaker Driver
  224.   //
  225. //#define REQUIRES_SPEAKER_DRIVER 1
  226.   // Define the above if the speaker driver should be installed
  227.  
  228.  
  229.   //----- Processor requirements (overridden by VFW):
  230. #ifdef REQUIRES_VFW
  231.     #define REQUIRES_80386 1
  232. #else
  233.       //--- CPU REQUIREMENTS:
  234.       //
  235.     #define REQUIRES_80286   1
  236.     //#define REQUIRES_80386   1
  237.     //#define REQUIRES_80486   1
  238.     //#define REQUIRES_PENTIUM 1
  239. #endif
  240.  
  241.  
  242. //#define REQUIRES_WINDOWS95      1
  243.   // Define the above if Windows 95 is required.
  244.   // If Windows 95 is required, then define the following if
  245.   // the program will also run under Windows NT and/or Win32s.
  246.   // APP_IS_32BIT should be defined for 32-bit programs (this
  247.   // is intended for future use).
  248.  
  249. #ifdef REQUIRES_WINDOWS95
  250.     #define OK_WINDOWSNT 1
  251.     //#define OK_WIN32S    1
  252.     //#define APP_IS_32BIT 1
  253. #endif
  254.  
  255. // eof CUSTOM.RUL
  256.